package org.apple.util;

import java.io.FileInputStream;
import java.util.Properties;

public class Configure extends Properties {
	/**
	 * 
	 */
	private static final long serialVersionUID = 2302979188734608156L;
	
	private static Configure instance = new Configure();
	
	private Configure() {
		super();
		try {
			load(new FileInputStream("test.properties"));
		} catch (Exception e) {
			e.printStackTrace();
			throw new RuntimeException(e);
		}
	}
	
	public static synchronized Configure instance() {
		return instance;
	}
	
	
}
